package com.zrgk.bean;

import java.io.Serializable;
import java.util.Date;
/**
 * 菜单对象
 * @author hzy
 *
 */
public class MenuBean implements Serializable {
	private static final long serialVersionUID = 1L;
	
	private int id;//菜单id
	private String number;//菜单编号
	private String name;//菜单姓名
	private int state;//菜单状态 1可用 2不可用
	private String url;//菜单路径
	private String remark;//菜单备注
	private Date creatDate;//创建时间
	private MenuBean topMenu;//所属顶级菜单
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getNumber() {
		return number;
	}
	public void setNumber(String number) {
		this.number = number;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getState() {
		return state;
	}
	public void setState(int state) {
		this.state = state;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public Date getCreatDate() {
		return creatDate;
	}
	public void setCreatDate(Date creatDate) {
		this.creatDate = creatDate;
	}
	public MenuBean getTopMenu() {
		return topMenu;
	}
	public void setTopMenu(MenuBean topMenu) {
		this.topMenu = topMenu;
	}
	
	public String toString() {
		return "MenuBean [id=" + id + ", number=" + number + ", name=" + name
				+ ", state=" + state + ", url=" + url + ", remark=" + remark
				+ ", creatDate=" + creatDate + ", topMenu=" + topMenu + "]";
	}
	
	
}
